package com.stellar.circle.basic.service.impl;

import com.stellar.circle.basic.dao.SSchoolAdminDao;
import com.stellar.circle.basic.entity.SSchoolAdmin;
import com.stellar.circle.basic.service.SSchoolAdminService;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;

/**
 * 学校管理员映射表(SSchoolAdmin)服务实现
 *
 * @author Jqchan
 * @since 2025-05-17 18:48:51
 */
@Service
public class SSchoolAdminServiceImpl implements SSchoolAdminService {
    
    @Resource
    private SSchoolAdminDao sSchoolAdminDao;

    @Override
    public SSchoolAdmin queryById(Long id) {
        return sSchoolAdminDao.queryById(id);
    }

    @Override
    public SSchoolAdmin queryByCondition(SSchoolAdmin condition) {
        return sSchoolAdminDao.queryByCondition(condition);
    }

    @Override
    public List<SSchoolAdmin> queryAllByCondition(SSchoolAdmin condition) {
        return sSchoolAdminDao.queryAllByCondition(condition);
    }

    @Override
    public List<SSchoolAdmin> page(SSchoolAdmin condition, int page, int pageSize) {
        return sSchoolAdminDao.page(condition, page, pageSize);
    }

    @Override
    public int insert(SSchoolAdmin entity) {
        return sSchoolAdminDao.insert(entity);
    }

    @Override
    public int update(SSchoolAdmin entity) {
        return sSchoolAdminDao.update(entity);
    }

    @Override
    public int deleteById(Long id) {
        return sSchoolAdminDao.deleteById(id);
    }

    @Override
    public Long count(SSchoolAdmin condition) {
        return sSchoolAdminDao.count(condition);
    }

    @Override
    public List<SSchoolAdmin> batchQueryBySchoolIds(List<Long> schoolIds) {
        return sSchoolAdminDao.batchQueryBySchoolIds(schoolIds);
    }
}
